package com.tangly.codeing.service;

import com.tangly.codeing.model.File;
import com.tangly.codeing.utils.ReturnT;

import java.util.List;

/**
 * 文件
 *
 * @author tangbing
 * @date 2019-10-30
 */
public interface FileService {

    ReturnT<String> fileToDfsServer(String fileId);

    List<File> getAll();

    File selectByPrimaryKey(Long id);

    int updateByPrimaryKey(File record);
}
